package zhuyun.code.launcheractivity.view

import android.app.Dialog
import android.content.Context
import android.view.LayoutInflater
import android.view.ViewGroup
import zhuyun.code.launcheractivity.R

/**
 * @author: Administrator
 * @date: 2021/11/17
 */
class WLCommonDialog(private val mContext: Context): Dialog(mContext,R.style.Dialog) {
    init {
        val inflater = context.getSystemService(Context.LAYOUT_INFLATER_SERVICE) as LayoutInflater
        val layout = inflater.inflate(R.layout.big_code,null)
        this.setContentView(layout, ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,ViewGroup.LayoutParams.WRAP_CONTENT))
    }
}